﻿/** \file
* \$Rev$
* 
* \$Date$
*
* \$URL$
*/

using System;
using System.Windows.Forms;

namespace BT211.Server
{
	/// <summary>
	/// The configuration form shown at the program's start.
	/// </summary>
	partial class StartForm : Form
	{
		/// <summary>The constructor.</summary>
		public StartForm()
		{
			InitializeComponent();

			listAIs.DataSource = Program.Server.aifactories;
			listAIs.DisplayMember = "Name";
		}

		/// <summary>Start the game.</summary>
		/// <param name="sender">The event sender.</param>
		/// <param name="e">The event arguments.</param>
		void buttonStart_Click(object sender, EventArgs e)
		{
			Program.BeginGame();
		}
	}
}
